Custom command for '\begin{environment}...\end{environment}'

Posted by user328369 on Stack Overflow See other posts from Stack Overflow or by user328369
Published on 2010-04-28T23:24:02Z Indexed on 2010/04/28 23:27 UTC
Read the original article Hit count: 407

Filed under:

To enter a bit of dialogue using the screenplay package, I have to use

\begin{dialogue}{Johnny} Some dialogue. \end{dialogue}
\begin{dialogue}{Jane} I see. \end{dialogue}

It gets a bit tedious after a while. Is it possible to specify a custom command so that I can use something like

\dialogue{Johnny} Some dialogue.
\dialogue{Jane} I see.

instead?

© Stack Overflow or respective owner

Related posts about latex